package main

import (
	extendsMethod "extendsProject/src/methodClasses"
	"fmt"
)

func main() {
	school := extendsMethod.NewPrimarySchool()
	school.SetStudentType("小学生")
	school.SetName("张三")
	school.SetAge(20)
	student := school.GetStudent()
	fmt.Println(school)
	fmt.Println(student.String())

	fmt.Println(school.Student.String())

}
